import os
from openpyxl import load_workbook

file = os.path.join("data", "user_userinfo.xlsx")

wb = load_workbook(file)

sheet = wb.worksheets[0]

for row in sheet.iter_rows(min_row=2):
    name = row[1].value
    salary = row[3].value
    if salary > 9000:
        print(name, salary)
